#pragma once

#pragma unmanaged

#include <BWSAL\Arbitrator.h>

#pragma managed

#include "..\BWAPI\Unit.h"

using namespace System;
using namespace System::Collections::Generic;

using namespace BroodWar::Api;

namespace BroodWar
{
	namespace Addon
	{
		public interface class IUnitController
		{
			void OnOffer(IEnumerable<Unit^>^ objects);
			void OnRevoke(Unit^ obj, double bid);
			property String^ Name { String^ get(); }
		};

		BWSAL::UnitController* ConvertUnitController(IUnitController^ controller);
	}
}
